Skip to main content
POST
/
api
/
v1
/
apps
Register a new app. Validates URL (SSRF), encrypts auth, inserts row, probes immediately. Probe failures do NOT fail registration — the row persists with `status='unhealthy'`, and the probe outcome is reflected in the response body.
curl --request POST \
  --url https://api.backside.app/api/v1/apps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auth": {
    "secret": "<string>",
    "type": "bearer"
  },
  "display_name": "<string>",
  "mcp_server_url": "<string>",
  "slug": "<string>",
  "description": "<string>"
}
'
{
  "app": {
    "auth_type": "<string>",
    "consecutive_probe_failures": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "discovered_tools": [
      {
        "first_seen_at": "2023-11-07T05:31:56Z",
        "input_schema": "<unknown>",
        "last_seen_at": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "description": "<string>",
        "stale": true
      }
    ],
    "display_name": "<string>",
    "enabled_tools": [
      "<string>"
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "mcp_server_url": "<string>",
    "metadata": "<unknown>",
    "slug": "<string>",
    "status": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "auth_header_name": "<string>",
    "auth_hint": "<string>",
    "description": "<string>",
    "last_healthy_at": "2023-11-07T05:31:56Z",
    "last_probed_at": "2023-11-07T05:31:56Z",
    "status_reason": "<string>"
  },
  "probe": {
    "last_probed_at": "2023-11-07T05:31:56Z",
    "reachable": true,
    "tools_added": 1,
    "tools_discovered": 1,
    "tools_removed": 1,
    "reason": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
auth
object
required

Authorization: Bearer <secret>.

display_name
string
required
mcp_server_url
string
required
slug
string
required
description
string | null

Response

App registered

Envelope returned from POST /api/v1/apps.

app
object
required

Public-safe projection. Never includes encrypted_auth_value.

probe
object
required